import React from "react";
import  ReactDOM  from "react-dom";

const Demo = () => {
  return <h2>简单的函数组件</h2>
}

ReactDOM.render(<Demo />,document.getElementById('root'))